<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="merchantapi_reports_v1.html">Merchant API</a> . <a href="merchantapi_reports_v1.accounts.html">accounts</a> . <a href="merchantapi_reports_v1.accounts.reports.html">reports</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#search">search(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves a report defined by a search query. The response might contain fewer rows than specified by `page_size`. Rely on `next_page_token` to determine if there are more rows to be requested.</p>
<p class="toc_element">
  <code><a href="#search_next">search_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="search">search(parent, body=None, x__xgafv=None)</code>
  <pre>Retrieves a report defined by a search query. The response might contain fewer rows than specified by `page_size`. Rely on `next_page_token` to determine if there are more rows to be requested.

Args:
  parent: string, Required. Id of the account making the call. Must be a standalone account or an MCA subaccount. Format: accounts/{account} (required)
  body: object, The request body.
    The object takes the form of:

{ # Request message for the `ReportService.Search` method.
  &quot;pageSize&quot;: 42, # Optional. Number of `ReportRows` to retrieve in a single page. Defaults to 1000. Values above 5000 are coerced to 5000.
  &quot;pageToken&quot;: &quot;A String&quot;, # Optional. Token of the page to retrieve. If not specified, the first page of results is returned. In order to request the next page of results, the value obtained from `next_page_token` in the previous response should be used.
  &quot;query&quot;: &quot;A String&quot;, # Required. Query that defines a report to be retrieved. For details on how to construct your query, see the [Query Language guide](/merchant/api/guides/reports/query-language). For the full list of available tables and fields, see the [Available fields](/merchant/api/reference/rest/reports_{api_version}/accounts.reports).
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for the `ReportService.Search` method.
  &quot;nextPageToken&quot;: &quot;A String&quot;, # Token which can be sent as `page_token` to retrieve the next page. If omitted, there are no subsequent pages.
  &quot;results&quot;: [ # Rows that matched the search query.
    { # Result row returned from the search query. Only the message corresponding to the queried table is populated in the response. Within the populated message, only the fields requested explicitly in the query are populated.
      &quot;bestSellersBrandView&quot;: { # Fields available for query in `best_sellers_brand_view` table. [Best sellers](https://support.google.com/merchants/answer/9488679) report with top brands. Values are only set for fields requested explicitly in the request&#x27;s search query. # Fields available for query in `best_sellers_brand_view` table.
        &quot;brand&quot;: &quot;A String&quot;, # Name of the brand.
        &quot;previousRank&quot;: &quot;A String&quot;, # Popularity rank in the previous week or month.
        &quot;previousRelativeDemand&quot;: &quot;A String&quot;, # Estimated demand in relation to the brand with the highest popularity rank in the same category and country in the previous week or month.
        &quot;rank&quot;: &quot;A String&quot;, # Popularity of the brand on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.
        &quot;relativeDemand&quot;: &quot;A String&quot;, # Estimated demand in relation to the brand with the highest popularity rank in the same category and country.
        &quot;relativeDemandChange&quot;: &quot;A String&quot;, # Change in the estimated demand. Whether it rose, sank or remained flat.
        &quot;reportCategoryId&quot;: &quot;A String&quot;, # Google product category ID to calculate the ranking for, represented in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. If a `WHERE` condition on `report_category_id` is not specified in the query, rankings for all top-level categories are returned.
        &quot;reportCountryCode&quot;: &quot;A String&quot;, # Country where the ranking is calculated. Represented in the ISO 3166 format. Required in the `SELECT` clause. Condition on `report_country_code` is required in the `WHERE` clause.
        &quot;reportDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Report date. The value of this field can only be one of the following: * The first day of the week (Monday) for weekly reports, * The first day of the month for monthly reports. Required in the `SELECT` clause. If a `WHERE` condition on `report_date` is not specified in the query, the latest available weekly or monthly report is returned.
          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        &quot;reportGranularity&quot;: &quot;A String&quot;, # Granularity of the report. The ranking can be done over a week or a month timeframe. Required in the `SELECT` clause. Condition on `report_granularity` is required in the `WHERE` clause.
      },
      &quot;bestSellersProductClusterView&quot;: { # Fields available for query in `best_sellers_product_cluster_view` table. [Best sellers](https://support.google.com/merchants/answer/9488679) report with top product clusters. A product cluster is a grouping for different offers and variants that represent the same product, for example, Google Pixel 7. Values are only set for fields requested explicitly in the request&#x27;s search query. # Fields available for query in `best_sellers_product_cluster_view` table.
        &quot;brand&quot;: &quot;A String&quot;, # Brand of the product cluster.
        &quot;brandInventoryStatus&quot;: &quot;A String&quot;, # Whether there is at least one product of the brand currently `IN_STOCK` in your product data source in at least one of the countries, all products are `OUT_OF_STOCK` in your product data source in all countries, or `NOT_IN_INVENTORY`. The field doesn&#x27;t take the Best sellers report country filter into account.
        &quot;categoryL1&quot;: &quot;A String&quot;, # Product category (1st level) of the product cluster, represented in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL2&quot;: &quot;A String&quot;, # Product category (2nd level) of the product cluster, represented in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL3&quot;: &quot;A String&quot;, # Product category (3rd level) of the product cluster, represented in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL4&quot;: &quot;A String&quot;, # Product category (4th level) of the product cluster, represented in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL5&quot;: &quot;A String&quot;, # Product category (5th level) of the product cluster, represented in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;inventoryStatus&quot;: &quot;A String&quot;, # Whether the product cluster is `IN_STOCK` in your product data source in at least one of the countries, `OUT_OF_STOCK` in your product data source in all countries, or `NOT_IN_INVENTORY` at all. The field doesn&#x27;t take the Best sellers report country filter into account.
        &quot;previousRank&quot;: &quot;A String&quot;, # Popularity rank in the previous week or month.
        &quot;previousRelativeDemand&quot;: &quot;A String&quot;, # Estimated demand in relation to the product cluster with the highest popularity rank in the same category and country in the previous week or month.
        &quot;rank&quot;: &quot;A String&quot;, # Popularity of the product cluster on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.
        &quot;relativeDemand&quot;: &quot;A String&quot;, # Estimated demand in relation to the product cluster with the highest popularity rank in the same category and country.
        &quot;relativeDemandChange&quot;: &quot;A String&quot;, # Change in the estimated demand. Whether it rose, sank or remained flat.
        &quot;reportCategoryId&quot;: &quot;A String&quot;, # Google product category ID to calculate the ranking for, represented in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. If a `WHERE` condition on `report_category_id` is not specified in the query, rankings for all top-level categories are returned.
        &quot;reportCountryCode&quot;: &quot;A String&quot;, # Country where the ranking is calculated. Represented in the ISO 3166 format. Required in the `SELECT` clause. Condition on `report_country_code` is required in the `WHERE` clause.
        &quot;reportDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Report date. The value of this field can only be one of the following: * The first day of the week (Monday) for weekly reports, * The first day of the month for monthly reports. Required in the `SELECT` clause. If a `WHERE` condition on `report_date` is not specified in the query, the latest available weekly or monthly report is returned.
          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        &quot;reportGranularity&quot;: &quot;A String&quot;, # Granularity of the report. The ranking can be done over a week or a month timeframe. Required in the `SELECT` clause. Condition on `report_granularity` is required in the `WHERE` clause.
        &quot;title&quot;: &quot;A String&quot;, # Title of the product cluster.
        &quot;variantGtins&quot;: [ # GTINs of example variants of the product cluster.
          &quot;A String&quot;,
        ],
      },
      &quot;competitiveVisibilityBenchmarkView&quot;: { # Fields available for query in `competitive_visibility_benchmark_view` table. [Competitive visibility](https://support.google.com/merchants/answer/11366442) report with the category benchmark. Values are only set for fields requested explicitly in the request&#x27;s search query. # Fields available for query in `competitive_visibility_benchmark_view` table.
        &quot;categoryBenchmarkVisibilityTrend&quot;: 3.14, # Change in visibility based on impressions with respect to the start of the selected time range (or first day with non-zero impressions) for a combined set of merchants with highest visibility approximating the market. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date of this row. Required in the `SELECT` clause. A condition on `date` is required in the `WHERE` clause.
          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        &quot;reportCategoryId&quot;: &quot;A String&quot;, # Google product category ID to calculate the report for, represented in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A condition on `report_category_id` is required in the `WHERE` clause.
        &quot;reportCountryCode&quot;: &quot;A String&quot;, # Country where impressions appeared. Required in the `SELECT` clause. A condition on `report_country_code` is required in the `WHERE` clause.
        &quot;trafficSource&quot;: &quot;A String&quot;, # Traffic source of impressions. Required in the `SELECT` clause.
        &quot;yourDomainVisibilityTrend&quot;: 3.14, # Change in visibility based on impressions for your domain with respect to the start of the selected time range (or first day with non-zero impressions). Cannot be filtered on in the &#x27;WHERE&#x27; clause.
      },
      &quot;competitiveVisibilityCompetitorView&quot;: { # Fields available for query in `competitive_visibility_competitor_view` table. [Competitive visibility](https://support.google.com/merchants/answer/11366442) report with businesses with similar visibility. Values are only set for fields requested explicitly in the request&#x27;s search query. # Fields available for query in `competitive_visibility_competitor_view` table.
        &quot;adsOrganicRatio&quot;: 3.14, # [Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) shows how often the domain receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date of this row. A condition on `date` is required in the `WHERE` clause.
          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        &quot;domain&quot;: &quot;A String&quot;, # Domain of your competitor or your domain, if &#x27;is_your_domain&#x27; is true. Required in the `SELECT` clause. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;higherPositionRate&quot;: 3.14, # [Higher position rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) shows how often a competitor’s offer got placed in a higher position on the page than your offer. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;isYourDomain&quot;: True or False, # True if this row contains data for your domain. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;pageOverlapRate&quot;: 3.14, # [Page overlap rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) shows how frequently competing retailers’ offers are shown together with your offers on the same page. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;rank&quot;: &quot;A String&quot;, # Position of the domain in the similar businesses ranking for the selected keys (`date`, `report_category_id`, `report_country_code`, `traffic_source`) based on impressions. 1 is the highest. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;relativeVisibility&quot;: 3.14, # [Relative visibility] (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) shows how often your competitors’ offers are shown compared to your offers. In other words, this is the number of displayed impressions of a competitor retailer divided by the number of your displayed impressions during a selected time range for a selected product category and country. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;reportCategoryId&quot;: &quot;A String&quot;, # Google product category ID to calculate the report for, represented in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A condition on `report_category_id` is required in the `WHERE` clause.
        &quot;reportCountryCode&quot;: &quot;A String&quot;, # Country where impressions appeared. Required in the `SELECT` clause. A condition on `report_country_code` is required in the `WHERE` clause.
        &quot;trafficSource&quot;: &quot;A String&quot;, # Traffic source of impressions. Required in the `SELECT` clause.
      },
      &quot;competitiveVisibilityTopMerchantView&quot;: { # Fields available for query in `competitive_visibility_top_merchant_view` table. [Competitive visibility](https://support.google.com/merchants/answer/11366442) report with business with highest visibility. Values are only set for fields requested explicitly in the request&#x27;s search query. # Fields available for query in `competitive_visibility_top_merchant_view` table.
        &quot;adsOrganicRatio&quot;: 3.14, # [Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) shows how often the domain receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date of this row. Cannot be selected in the `SELECT` clause. A condition on `date` is required in the `WHERE` clause.
          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        &quot;domain&quot;: &quot;A String&quot;, # Domain of your competitor or your domain, if &#x27;is_your_domain&#x27; is true. Required in the `SELECT` clause. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;higherPositionRate&quot;: 3.14, # [Higher position rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) shows how often a competitor’s offer got placed in a higher position on the page than your offer. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;isYourDomain&quot;: True or False, # True if this row contains data for your domain. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;pageOverlapRate&quot;: 3.14, # [Page overlap rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) shows how frequently competing retailers’ offers are shown together with your offers on the same page. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;rank&quot;: &quot;A String&quot;, # Position of the domain in the top merchants ranking for the selected keys (`date`, `report_category_id`, `report_country_code`, `traffic_source`) based on impressions. 1 is the highest. Cannot be filtered on in the &#x27;WHERE&#x27; clause.
        &quot;reportCategoryId&quot;: &quot;A String&quot;, # Google product category ID to calculate the report for, represented in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A condition on `report_category_id` is required in the `WHERE` clause.
        &quot;reportCountryCode&quot;: &quot;A String&quot;, # Country where impressions appeared. Required in the `SELECT` clause. A condition on `report_country_code` is required in the `WHERE` clause.
        &quot;trafficSource&quot;: &quot;A String&quot;, # Traffic source of impressions. Required in the `SELECT` clause.
      },
      &quot;nonProductPerformanceView&quot;: { # Fields available for query in `non_product_performance_view` table. Performance data on images and online store links leading to your non-product pages. This includes performance metrics (for example, `clicks`) and dimensions according to which performance metrics are segmented (for example, `date`). Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for fields requested explicitly in the request&#x27;s search query. # Fields available for query in `non_product_performance_view` table.
        &quot;clickThroughRate&quot;: 3.14, # Click-through rate - the number of clicks (`clicks`) divided by the number of impressions (`impressions`) of images and online store links leading to your non-product pages. Metric.
        &quot;clicks&quot;: &quot;A String&quot;, # Number of clicks on images and online store links leading to your non-product pages. Metric.
        &quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the merchant timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause.
          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        &quot;impressions&quot;: &quot;A String&quot;, # Number of times images and online store links leading to your non-product pages were shown. Metric.
        &quot;week&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
      },
      &quot;priceCompetitivenessProductView&quot;: { # Fields available for query in `price_competitiveness_product_view` table. [Price competitiveness](https://support.google.com/merchants/answer/9626903) report. Values are only set for fields requested explicitly in the request&#x27;s search query. # Fields available for query in `price_competitiveness_product_view` table.
        &quot;benchmarkPrice&quot;: { # The price represented as a number and currency. # Latest available price benchmark for the product&#x27;s catalog in the benchmark country.
          &quot;amountMicros&quot;: &quot;A String&quot;, # The price represented as a number in micros (1 million micros is an equivalent to one&#x27;s currency standard unit, for example, 1 USD = 1000000 micros).
          &quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
        },
        &quot;brand&quot;: &quot;A String&quot;, # Brand of the product.
        &quot;categoryL1&quot;: &quot;A String&quot;, # Product category (1st level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL2&quot;: &quot;A String&quot;, # Product category (2nd level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL3&quot;: &quot;A String&quot;, # Product category (3rd level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL4&quot;: &quot;A String&quot;, # Product category (4th level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL5&quot;: &quot;A String&quot;, # Product category (5th level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;id&quot;: &quot;A String&quot;, # REST ID of the product, in the form of `channel~languageCode~feedLabel~offerId`. Can be used to join data with the `product_view` table. Required in the `SELECT` clause.
        &quot;offerId&quot;: &quot;A String&quot;, # Merchant-provided id of the product.
        &quot;price&quot;: { # The price represented as a number and currency. # Current price of the product.
          &quot;amountMicros&quot;: &quot;A String&quot;, # The price represented as a number in micros (1 million micros is an equivalent to one&#x27;s currency standard unit, for example, 1 USD = 1000000 micros).
          &quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
        },
        &quot;productTypeL1&quot;: &quot;A String&quot;, # Product type (1st level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL2&quot;: &quot;A String&quot;, # Product type (2nd level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL3&quot;: &quot;A String&quot;, # Product type (3rd level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL4&quot;: &quot;A String&quot;, # Product type (4th level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL5&quot;: &quot;A String&quot;, # Product type (5th level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;reportCountryCode&quot;: &quot;A String&quot;, # Country of the price benchmark. Represented in the ISO 3166 format. Required in the `SELECT` clause.
        &quot;title&quot;: &quot;A String&quot;, # Title of the product.
      },
      &quot;priceInsightsProductView&quot;: { # Fields available for query in `price_insights_product_view` table. [Price insights](https://support.google.com/merchants/answer/11916926) report. Values are only set for fields requested explicitly in the request&#x27;s search query. # Fields available for query in `price_insights_product_view` table.
        &quot;brand&quot;: &quot;A String&quot;, # Brand of the product.
        &quot;categoryL1&quot;: &quot;A String&quot;, # Product category (1st level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL2&quot;: &quot;A String&quot;, # Product category (2nd level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL3&quot;: &quot;A String&quot;, # Product category (3rd level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL4&quot;: &quot;A String&quot;, # Product category (4th level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL5&quot;: &quot;A String&quot;, # Product category (5th level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;effectiveness&quot;: &quot;A String&quot;, # The predicted effectiveness of applying the price suggestion, bucketed.
        &quot;id&quot;: &quot;A String&quot;, # REST ID of the product, in the form of `channel~languageCode~feedLabel~offerId`. Can be used to join data with the `product_view` table. Required in the `SELECT` clause.
        &quot;offerId&quot;: &quot;A String&quot;, # Merchant-provided id of the product.
        &quot;predictedClicksChangeFraction&quot;: 3.14, # Predicted change in clicks as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in clicks.
        &quot;predictedConversionsChangeFraction&quot;: 3.14, # Predicted change in conversions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in conversions).
        &quot;predictedImpressionsChangeFraction&quot;: 3.14, # Predicted change in impressions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in impressions.
        &quot;price&quot;: { # The price represented as a number and currency. # Current price of the product.
          &quot;amountMicros&quot;: &quot;A String&quot;, # The price represented as a number in micros (1 million micros is an equivalent to one&#x27;s currency standard unit, for example, 1 USD = 1000000 micros).
          &quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
        },
        &quot;productTypeL1&quot;: &quot;A String&quot;, # Product type (1st level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL2&quot;: &quot;A String&quot;, # Product type (2nd level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL3&quot;: &quot;A String&quot;, # Product type (3rd level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL4&quot;: &quot;A String&quot;, # Product type (4th level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL5&quot;: &quot;A String&quot;, # Product type (5th level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;suggestedPrice&quot;: { # The price represented as a number and currency. # Latest suggested price for the product.
          &quot;amountMicros&quot;: &quot;A String&quot;, # The price represented as a number in micros (1 million micros is an equivalent to one&#x27;s currency standard unit, for example, 1 USD = 1000000 micros).
          &quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
        },
        &quot;title&quot;: &quot;A String&quot;, # Title of the product.
      },
      &quot;productPerformanceView&quot;: { # Fields available for query in `product_performance_view` table. Product performance data for your account, including performance metrics (for example, `clicks`) and dimensions according to which performance metrics are segmented (for example, `offer_id`). Values of product dimensions, such as `offer_id`, reflect the state of a product at the time of the impression. Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for fields requested explicitly in the request&#x27;s search query. # Fields available for query in `product_performance_view` table.
        &quot;brand&quot;: &quot;A String&quot;, # Brand of the product. Segment.
        &quot;categoryL1&quot;: &quot;A String&quot;, # [Product category (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google&#x27;s product taxonomy. Segment.
        &quot;categoryL2&quot;: &quot;A String&quot;, # [Product category (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google&#x27;s product taxonomy. Segment.
        &quot;categoryL3&quot;: &quot;A String&quot;, # [Product category (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google&#x27;s product taxonomy. Segment.
        &quot;categoryL4&quot;: &quot;A String&quot;, # [Product category (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google&#x27;s product taxonomy. Segment.
        &quot;categoryL5&quot;: &quot;A String&quot;, # [Product category (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google&#x27;s product taxonomy. Segment.
        &quot;clickThroughRate&quot;: 3.14, # Click-through rate - the number of clicks merchant&#x27;s products receive (clicks) divided by the number of times the products are shown (impressions). Metric.
        &quot;clicks&quot;: &quot;A String&quot;, # Number of clicks. Metric.
        &quot;conversionRate&quot;: 3.14, # Number of conversions divided by the number of clicks, reported on the impression date. Metric. Available only for the `FREE` traffic source.
        &quot;conversionValue&quot;: { # The price represented as a number and currency. # Value of conversions attributed to the product, reported on the conversion date. Metric. Available only for the `FREE` traffic source.
          &quot;amountMicros&quot;: &quot;A String&quot;, # The price represented as a number in micros (1 million micros is an equivalent to one&#x27;s currency standard unit, for example, 1 USD = 1000000 micros).
          &quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
        },
        &quot;conversions&quot;: 3.14, # Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. Metric. Available only for the `FREE` traffic source.
        &quot;customLabel0&quot;: &quot;A String&quot;, # Custom label 0 for custom grouping of products. Segment.
        &quot;customLabel1&quot;: &quot;A String&quot;, # Custom label 1 for custom grouping of products. Segment.
        &quot;customLabel2&quot;: &quot;A String&quot;, # Custom label 2 for custom grouping of products. Segment.
        &quot;customLabel3&quot;: &quot;A String&quot;, # Custom label 3 for custom grouping of products. Segment.
        &quot;customLabel4&quot;: &quot;A String&quot;, # Custom label 4 for custom grouping of products. Segment.
        &quot;customerCountryCode&quot;: &quot;A String&quot;, # Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. Segment. If the customer country cannot be determined, a special &#x27;ZZ&#x27; code is returned.
        &quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the merchant timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause.
          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        &quot;impressions&quot;: &quot;A String&quot;, # Number of times merchant&#x27;s products are shown. Metric.
        &quot;marketingMethod&quot;: &quot;A String&quot;, # Marketing method to which metrics apply. Segment.
        &quot;offerId&quot;: &quot;A String&quot;, # Merchant-provided id of the product. Segment.
        &quot;productTypeL1&quot;: &quot;A String&quot;, # [Product type (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant&#x27;s own product taxonomy. Segment.
        &quot;productTypeL2&quot;: &quot;A String&quot;, # [Product type (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant&#x27;s own product taxonomy. Segment.
        &quot;productTypeL3&quot;: &quot;A String&quot;, # [Product type (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant&#x27;s own product taxonomy. Segment.
        &quot;productTypeL4&quot;: &quot;A String&quot;, # [Product type (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant&#x27;s own product taxonomy. Segment.
        &quot;productTypeL5&quot;: &quot;A String&quot;, # [Product type (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant&#x27;s own product taxonomy. Segment.
        &quot;title&quot;: &quot;A String&quot;, # Title of the product. Segment.
        &quot;week&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
      },
      &quot;productView&quot;: { # Fields available for query in `product_view` table. Products in the current inventory. Products in this table are the same as in Products sub-API but not all product attributes from Products sub-API are available for query in this table. In contrast to Products sub-API, this table allows to filter the returned list of products by product attributes. To retrieve a single product by `id` or list all products, Products sub-API should be used. Values are only set for fields requested explicitly in the request&#x27;s search query. # Fields available for query in `product_view` table.
        &quot;aggregatedReportingContextStatus&quot;: &quot;A String&quot;, # Aggregated status.
        &quot;availability&quot;: &quot;A String&quot;, # [Availability](https://support.google.com/merchants/answer/6324448) of the product.
        &quot;brand&quot;: &quot;A String&quot;, # Brand of the product.
        &quot;categoryL1&quot;: &quot;A String&quot;, # Product category (1st level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL2&quot;: &quot;A String&quot;, # Product category (2nd level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL3&quot;: &quot;A String&quot;, # Product category (3rd level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL4&quot;: &quot;A String&quot;, # Product category (4th level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;categoryL5&quot;: &quot;A String&quot;, # Product category (5th level) in [Google&#x27;s product taxonomy](https://support.google.com/merchants/answer/6324436).
        &quot;channel&quot;: &quot;A String&quot;, # Channel of the product. Can be `ONLINE` or `LOCAL`.
        &quot;clickPotential&quot;: &quot;A String&quot;, # Estimated performance potential compared to highest performing products of the merchant.
        &quot;clickPotentialRank&quot;: &quot;A String&quot;, # Rank of the product based on its click potential. A product with `click_potential_rank` 1 has the highest click potential among the merchant&#x27;s products that fulfill the search query conditions.
        &quot;condition&quot;: &quot;A String&quot;, # [Condition](https://support.google.com/merchants/answer/6324469) of the product.
        &quot;creationTime&quot;: &quot;A String&quot;, # The time the merchant created the product in timestamp seconds.
        &quot;expirationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Expiration date for the product, specified on insertion.
          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
        },
        &quot;feedLabel&quot;: &quot;A String&quot;, # Feed label of the product.
        &quot;gtin&quot;: [ # List of Global Trade Item Numbers (GTINs) of the product.
          &quot;A String&quot;,
        ],
        &quot;id&quot;: &quot;A String&quot;, # REST ID of the product, in the form of `channel~languageCode~feedLabel~offerId`. Merchant API methods that operate on products take this as their `name` parameter. Required in the `SELECT` clause.
        &quot;itemGroupId&quot;: &quot;A String&quot;, # Item group id provided by the merchant for grouping variants together.
        &quot;itemIssues&quot;: [ # List of item issues for the product. **This field cannot be used for sorting the results.** **Only selected attributes of this field (for example, `item_issues.severity.aggregated_severity`) can be used for filtering the results.**
          { # Item issue associated with the product.
            &quot;resolution&quot;: &quot;A String&quot;, # Item issue resolution.
            &quot;severity&quot;: { # How the issue affects the serving of the product. # Item issue severity.
              &quot;aggregatedSeverity&quot;: &quot;A String&quot;, # Aggregated severity of the issue for all reporting contexts it affects. **This field can be used for filtering the results.**
              &quot;severityPerReportingContext&quot;: [ # Issue severity per reporting context.
                { # Issue severity per reporting context.
                  &quot;demotedCountries&quot;: [ # List of demoted countries in the reporting context, represented in ISO 3166 format.
                    &quot;A String&quot;,
                  ],
                  &quot;disapprovedCountries&quot;: [ # List of disapproved countries in the reporting context, represented in ISO 3166 format.
                    &quot;A String&quot;,
                  ],
                  &quot;reportingContext&quot;: &quot;A String&quot;, # Reporting context the issue applies to.
                },
              ],
            },
            &quot;type&quot;: { # Issue type. # Item issue type.
              &quot;canonicalAttribute&quot;: &quot;A String&quot;, # Canonical attribute name for attribute-specific issues.
              &quot;code&quot;: &quot;A String&quot;, # Error code of the issue, equivalent to the `code` of [Product issues](https://developers.google.com/shopping-content/guides/product-issues).
            },
          },
        ],
        &quot;languageCode&quot;: &quot;A String&quot;, # Language code of the product in BCP 47 format.
        &quot;offerId&quot;: &quot;A String&quot;, # Merchant-provided id of the product.
        &quot;price&quot;: { # The price represented as a number and currency. # Product price. Absent if the information about the price of the product is not available.
          &quot;amountMicros&quot;: &quot;A String&quot;, # The price represented as a number in micros (1 million micros is an equivalent to one&#x27;s currency standard unit, for example, 1 USD = 1000000 micros).
          &quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
        },
        &quot;productTypeL1&quot;: &quot;A String&quot;, # Product type (1st level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL2&quot;: &quot;A String&quot;, # Product type (2nd level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL3&quot;: &quot;A String&quot;, # Product type (3rd level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL4&quot;: &quot;A String&quot;, # Product type (4th level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;productTypeL5&quot;: &quot;A String&quot;, # Product type (5th level) in merchant&#x27;s own [product taxonomy](https://support.google.com/merchants/answer/6324406).
        &quot;shippingLabel&quot;: &quot;A String&quot;, # Normalized [shipping label](https://support.google.com/merchants/answer/6324504) specified in the data source.
        &quot;thumbnailLink&quot;: &quot;A String&quot;, # Link to the processed image of the product, hosted on the Google infrastructure.
        &quot;title&quot;: &quot;A String&quot;, # Title of the product.
      },
    },
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="search_next">search_next()</code>
  <pre>Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call &#x27;execute()&#x27; on to request the next
          page. Returns None if there are no more items in the collection.
        </pre>
</div>

</body></html>